package com.mo.axion.handler.deduplication;

import com.alibaba.fastjson.annotation.JSONField;
import com.mo.axion.common.domain.TaskInfo;
import com.mo.axion.common.enums.AnchorState;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Mo
 * @createTime 2024/2/20 9:05
 * @description 去重服务参数类
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeduplicationParam {
    /**
     * TaskInfo信息
     */
    private TaskInfo taskInfo;
    /**
     * 去重时间 单位：秒
     */
    @JSONField(name = "time")
    private Long deduplicationTime;
    /**
     * 需要达到去重的次数
     */
    @JSONField(name = "num")
    private Integer countNum;
    /**
     * 表示去重种类
     */
    private AnchorState anchorState;
}
